package com.atguigu.eduteacher.service;

import com.atguigu.eduteacher.javabean.EduVideo;
import com.atguigu.eduteacher.javabean.dto.VideoInfoDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-21
 */
public interface IEduVideoService extends IService<EduVideo> {

    boolean getCountByChapterId(String chapterId);

    void saveVideoInfo(VideoInfoDto videoInfoForm);

    VideoInfoDto getVideoInfoFormById(String id);

    void updateVideoInfoById(VideoInfoDto videoInfoDto);

    boolean removeVideoById(String id);
}
